package com.example.application;

import android.app.Application;
import android.content.Context;

/**
 * @author Administrator
 * @createTime 2019/9/27 23:25
 */
public class BaseApplication extends Application {

    private static Context mAppContext;

    public static String getAppName() {
        return BuildConfig.APP_NAME;
    }

    @Override
    public void onCreate() {
        super.onCreate();
             mAppContext = getApplicationContext();
    }

    public static Context getAppContext() {
        return mAppContext;
    }



}
